package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car bm = new Car("宝马","白",500000,5);
        bm.brand = "宝马";
        bm.color = "白";
        bm.price = 500000;
        bm.capacity = 5;
        bm.start();
        bm.run();
        bm.stop();

        Car ad = new Car();
        ad.start();
        ad.run();
        ad.stop();
    }
}
